#pragma once

#pragma warning(disable:4172)

#ifndef PAGE_LEN
#define PAGE_LEN 4096
#endif

void _encodeBase64(unsigned char *in, unsigned char *out);
int StatingShotEncode(unsigned char *inbuf, int insize, unsigned char *outbuf, int outsize);
unsigned char decodeBase64Map(unsigned char a);
void _decodeBase64(unsigned char *in, unsigned char *out);
int base64decode(unsigned char *inbuf, int insize, unsigned char *outbuf, int outsize);
char * StartingShotDecode(const char * szInput);
